Custom character-coding compression for encoding and watermarking media content

ABSTRACT

A method of compressing media content in which a first predetermined portion of a media content is compressed using a first data-based compression algorithm and inserted into a first portion of a data frame. A second predetermined portion of the media content is compressed using a second data-based compression algorithm and is inserted into a second portion of the data frame. The second predetermined portion of the media content is different from the first predetermined portion of the media content, and the second data-based compression algorithm is different from the first data-based compression algorithm. At least one of the first and second data-based compression algorithms is a private data-based compression algorithm. A plurality of data frames are generated and are made available for distribution, for example, by transmission over a computer network, such as the Internet.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] The present application is related to an application (Attorney Docket No. Lacy 1-4) entitled “Quality Degradation Through Compression/Decompression” by Jack B. Lacy and James H. Snyder, and filed concurrently with the present application.

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention relates to the field of computing. More particularly, the present invention relates to a method for protecting encoded media content for network distribution.

[0004] 2. Description of the Related Art

[0005] Recent technological advances involving digital data compression, network bandwidth improvement and mass storage have made networked distribution of media content more feasible. That is, media content, such as digitized music, can be conveniently distributed over the Internet. To protect the intellectual property rights associated with a particular piece of media content, it is desirable to obscure the media content to prevent pirating of the content.

[0006] Consequently, what is needed is a way for compressing media content for convenient network distribution, while also securing the compressed media content against unauthorized use.

SUMMARY OF THE INVENTION

[0007] The present invention provides a method for compressing media content for convenient public distribution, such as over a computer network, while also securing the media content for controlling distribution of the media content and for preventing unauthorized use of the media content. The advantages of the present invention are provided by a method of compressing media content in which a first predetermined portion of a media content is compressed using a first data-based compression algorithm and inserted into a first portion of a data frame. A second predetermined portion of the media content is compressed using a second data-based compression algorithm and is inserted into a second portion of the data frame. The second predetermined portion of the media content is different from the first predetermined portion of the media content, and the second data-based compression algorithm is different from the first data-based compression algorithm. Preferably, at least one of the first and second data-based compression algorithms is a private data-based compression algorithm. The first and second portions of the data frame are separated by a predetermined header code, or can be separated by relative positions of the first and second predetermined portions of compressed media content within the data frame.

[0008] The present invention also provides a method for inserting a data stream not associated with the media content into a compressed media content bit stream. The inserted data stream is carried by at least one symbol in at least one initial data set associated with the DBCA. A preferential implementation uses designated symbols in one or more Huffman codebooks for embedding a watermark in the compressed bit stream. The value of the watermark bits recovered from the bit stream depend upon either the values associated with the symbols or alternatively the position of the symbol in the compressed bit stream.

[0009] According to the invention, a plurality of data frames are generated and are made available for distribution, for example, by transmission over a computer network, such as the Internet. Alternatively, the data frames can be made publicly available for storage in a memory device, such as a CD ROM.

[0010] A plurality of predetermined portions of the media content can be compressed using data-based compression algorithms and grouped into a respectively different portion of the data frame. Each respective predetermined portion of the media content is different from the first and the second predetermined portions of the media content. Similarly, the data-based compression algorithm used to compress a respective portion of the media content is different from the first and the second data-based compression algorithms. Preferably, at least one of the data-based compression algorithms is a private data-based compression algorithm.

[0011] Initial data associated with each private data-based compression algorithm is encrypted and made publicly available when the data frames are made available. The encrypted initial data is grouped into a data envelope within a data frame that is preferably available no later than a first data frame containing media content compressed using the private data-based compression algorithm with which the encrypted initial data is associated, but can be made available during a later data frame. Examples of initial data associated with at least one private data-based compression algorithm include a Huffman code-book and/or a vector quantization code-book.

[0012] According to the invention, the media content can include audio content, such as music and/or speech, images, video content, graphics and/or textual content.

BRIEF DESCRIPTION OF THE DRAWING

[0013] The present invention is illustrated by way of example and not limitation in the accompanying figures in which like reference numerals indicate similar elements and in which:

[0014]FIG. 1 shows a flow diagram for a media content compression process according to the present invention;

[0015]FIG. 2 shows an arrangement of data in a data frame according to the present invention; and

[0016]FIG. 3 shows a flow diagram for inserting a data stream not associated with the media content into a compressed media content bit stream according to the present invention.

DETAILED DESCRIPTION

[0017] The present invention provides a method for compressing media content for convenient distribution, such as over a computer network, while also securing the media content for controlling distribution of the media content and for preventing pirating of the media content. Compression algorithm, as used herein, is an algorithm that accepts an input data stream and produces a corresponding output data stream having substantially fewer bits. A data-based compression algorithm (DBCA) is an algorithm that is a subset of compression algorithms in general. The action of a DBCA, together with associated data, depends on a number of initial data values that have been determined before the compression operation begins (that is, without any knowledge of the particular input data sequence to be compressed). The initial data values may represent parametric values or may be used as lookup tables (i.e., as code-books) by the algorithm. Typical DBCAs are noiseless compression (e.g., Huffman) algorithms and vector quantization (VQ) algorithms. The initial data values may be static, i.e., the initial data values do not change, or dynamic, i.e., the initial data values adapt to the input data stream during the course of compression. Two DBCAs are different if the initial data values are different, whether the algorithms are different.

[0018]FIG. 1 shows a flow diagram of a media content compression-decompression process 10 according to the present invention. At step 11, a media content, such as audio signals, are sampled using well-known analog-to-digital techniques, or the input may be a digital representation of an analog signal. At step 12, the time-domain samples obtained in step 11 are converted to frequency-domain samples using well-known Fourier transform techniques.

[0019] At step 13, a selected portion of the frequency-domain samples of the media content are compressed in a well-known manner using a publicly available DBCA, such as a DBCA having a public Huffman code-book as initial data. Each binary character code or token of the public DBCA represents at least one different quantized representation of the frequency-domain samples. When the media content is music, the selected portion of the frequency-domain samples that are compressed using the public DBCA corresponds to a selected frequency band of the audio content frequency spectrum, for example, 300 Hz to 3 kHz. In video transform coding, DC coefficients would be encoded with the standard table, while the AC coefficients would be encoded with the custom (private) table. The selected portion of the media content, according to the invention, may be null.

[0020] At step 14, the remaining frequency-domain samples corresponding to the remainder of the audio content frequency spectrum are similarly compressed in a well-known manner using a private DBCA, that is, a DBCA in which the initial data is not publicly available. Examples of initial data for private DBCA include private Huffman code-books and private VQ code-books. Alternatively, the compression performed in steps 13 and 14 can be done by any well-known greedy-type algorithm that converts data into tokens or character codes, such as a VQ algorithm, as long as at least one of the two compression steps is performed by a private greedy-type algorithm. Of course, the present invention provides that the data compression of each step 13 and 14 can be performed by a private DBCA.

[0021] At step 15, the tokens for the frequency-domain samples that were compressed using the public DBCA are inserted into a first predetermined portion 31 of a data frame 30, shown in FIG. 2. A data frame, as used herein, is an encapsulation of related data, for example, data associated with a given time period, frequency bandwidth, spatial domain or cepstral domain. A data envelope, as used herein, is an encapsulation of a subset of the data within a given data frame. For example, a data frame in a perceptual audio coder might contain a compressed representation of 1024 consecutive samples of audio data. A data envelope within that particular data frame might contain a representation of the frequency interval DC to 300 Hz. Encapsulation, as used here, may be explicit or implicit. An example of an explicit encapsulation is use of a predetermined character code or a header. An implicit encapsulation, that is, an encapsulation without a header, can be defined by relative positions of the encapsulated data within the data frame.

[0022] At step 16, the tokens for the frequency-domain samples that were compressed using the private DBCA are inserted into a second portion 32 of data frame 30. According to the invention, second portion 32 can be explicitly or implicitly encapsulated within data frame 30. When second portion 32 is explicitly encapsulated within data frame, a header 33 formed by a predetermined character code or predetermined sequence of character codes containing information relating to the private DBCA, such as escape characters and/or the number of characters contained in second portion 32.

[0023] At step 17, the data frames are made publicly available, such as available for distribution by transmission in a well-known manner over a computer network, such as the Internet, or by storage in a user-owned storage device, such as a CD-ROM, at a point-of-sale device. In one embodiment of the present invention, the initial information associated with each private DBCA that is used is encrypted in a well-known manner using a secure encryption algorithm and is encapsulated in the data frames preferably no later than the first data frame containing media content compressed using the private DBCA with which the encrypted initial data is associated, but can be encapsulated during a later data frame. In another embodiment, the initial data for the public DBCA is made available with the encrypted initial data of the private DBCA. In yet another alternative embodiment, both the initial data for the public and the private DBCAs are available at the recipient of publicly available data frames 30 and are not distributed when the data frames 30 are distributed. Of course, for this embodiment, the encrypted initial data of the private DBCA is secure and is not accessible to unauthorized individuals. At step 18, the data frames and any initial data are received by the intended recipient.

[0024] At step 19, the tokens corresponding to the public DBCA in the first portion 31 of each data frame are decompressed using the public DBCA. At step 20, the character codes corresponding to the private DBCA in the second portion 32 of each data frame are decompressed using the private DBCA. When the first portion 31 of each data frame has been compressed by a private DBCA, portion 31 of each data frame is decompressed accordingly. When encrypted initial information is encapsulated in the data frames, the initial information is decrypted prior to decompression using the private DBCA. At step 21, the frequency-domain samples resulting from the decompression steps 19 and 20 are reassembled to form frequency-domain samples of the frequency spectrum of the media signal represented by each data frame. At step 22, the frequency-domain samples are transformed to time-domain samples using well-known inverse Fourier transform techniques. At step 23, the time-domain samples are converted to the media content using well-known digital-to-analog techniques.

[0025] When the initial data for the private DBCA is not known at step 20, steps 21-23 operate on only the portion of the media content that was contained in the first portion 31 of the data frames. In this way, a limited version of the media content is generated that may entice the recipient to purchase the entire media content because the fidelity of the media content is not satisfying.

[0026]FIG. 3 shows a functional block diagram 40 of a system for inserting a data stream not associated with the media content into a compressed media content bit stream. In block 41, analog media content is quantized using well-known digital-to-analog quantizing techniques to for digitized media content. Alternatively, the input may already be a digital representation of an analog signal. In block 42, the digitized media content is transformed from time-domain samples to frequency-domain samples using well-known Fourier transform and windowing techniques. In block 43, the floating point frequency-domain samples are converted into integer values in a well-known manner. The quantizer output is applied to a custom, or private, DBCA at block 44. A plurality of symbols are output to a bit stream formatter at block 45 which outputs a bitstream of compressed media content. Functional blocks 41-45 correspond to steps of 11-16 of method 10 shown in FIG. 1.

[0027] Block 47 contains a data sequence as a string of bits that preferably represents watermark data, but can represent any information that is not associated with the media content. Block 48 contains control logic for selecting a watermark data site and sequencing watermark data bits into custom DBCA 44, which emits symbols to the bitstream formatter 45. According to the invention, private DBCA 44 can contain either a single data set (e.g., a single Huffman or VQ codebook) or a plurality of data sets (e.g., multiple Huffman or VQ codebooks).

[0028] Control and timing 48 can be implemented in many ways. For example, if the bit rate coming out of bit stream formatter 45 is N bits/sec, and M watermark bits per second are desired to be inserted, and 1 bit per watermark site is inserted (without loss of generality), then timing and control 48 must insert a watermark bit on average every NIM bits coming out of bit stream formatter 45. (Hence, the path connecting the output of bitstream formatter 45 to control and timing 48.) In this case, timing and control 48 can be implemented as a reloadable downcounter that indicates an insertion when the downcounter reloads. In a more secure implementation, randomness can be incorporated into control and timing 48 using a pseudo-random number generator that causes an insertion on average every N/M bits.

[0029] More generally, private DBCA 44 may have a plurality of distinct Huffman codes devoted to watermarking, for example, k is equal to 2_(K) characters. Then, up to K watermark bits can be inserted per special Huffman symbol. For purposes of security, more than one Huffman symbol devoted to the same bit sequence might be chosen. In the case of K watermark bits per insertion, control and timing 48 causes an insertion on average every (N/M)*K bits. Alternatively, custom DBCA 44 may use one or more otherwise unused codebook indices for watermark insertion. For example, when control and timing 48 indicates an insertion, bitstream formatter 45 may put a watermark index and some predetermined number of bits into the bitstream. In this case, the watermark index appears to indicate an unused codebook. Similarly, the position of the watermark index may be used to indicate the value of the watermark data, for example, if the index occurs in an odd-numbered section in the bitstream, a “1” bit would be indicated, whereas appearance of the index in an even-numbered section indicates a “0” bit.

[0030] While the present invention has been described in connection with media having an audio content, such as music and/or speech, it will be appreciated and understood that the present invention is applicable to media having audio and/or image and/or video and/or graph and/or textual content, and that modifications may be made without departing from the true spirit and scope of the invention. 

What is claimed is:
 1. A method of compressing media content, the method comprising the steps of: compressing a first predetermined portion of a media content using a first data-based compression algorithm; and compressing a second predetermined portion of the media content using a second data-based compression algorithm, the second predetermined portion of the media content being different from the first predetermined portion of the media content, and the second data-based compression algorithm being different from the first data-based compression algorithm.
 2. The method according to claim 1 , wherein at least one of the first and second data-based compression algorithms is a private data-based compression algorithm.
 3. The method according to claim 2 , wherein one of the first and second data-based compression algorithms is a public data-based compression algorithm.
 4. The method according to claim 3 , wherein the predetermined portion of the media content compressed by public data-based compression algorithm is a null portion of the media content.
 5. The method according to claim 2 , further comprising the steps of: grouping the compressed first predetermined portion of the media content into a first portion of a data frame; and grouping the compressed second predetermined portion of the media content into a second portion of the data frame.
 6. The method according to claim 5 , wherein the first and second portions of the data frame are separated by a predetermined header code.
 7. The method according to claim 5 , wherein the first and second portions of the data frame are separated by relative positions of the first and second predetermined portions of compressed media content within the data frame.
 8. The method according to claim 5 , further comprising the step of making the data frame publicly available.
 9. The method according to claim 8 , wherein the step of making the data frame publicly available includes the step of transmitting the data frame over a computer network.
 10. The method according to claim 8 , wherein the step of making the data frame publicly available includes the step of storing the data frame in a memory device.
 11. The method according to claim 10 , wherein the memory device is a CD ROM.
 12. The method according to claim 8 , wherein the steps of the method are performed for a plurality of data frames.
 13. The method according to claim 12 , further comprising the steps of: receiving the publicly available data frames; decompressing the first predetermined portion of each data frame using the first data-based compression algorithm; and decompressing the second predetermined portion of each data frame using the second data-based compression algorithm.
 14. The method according to claim 8 , further comprising the steps of: compressing a third predetermined portion of the media content using a third data-based compression algorithm, the third predetermined portion of the media content being different from the first and the second predetermined portions of the media content, and the third data-based compression algorithm being different from the first and the second data-based compression algorithms; and grouping the compressed third predetermined portion of the media content into a third portion of the data frame.
 15. The method according to claim 14 , wherein at least one of the first, second and third data-based compression algorithms is a private data-based compression algorithm.
 16. The method according to claim 15 , further comprising the steps of: receiving the publicly available data frame; decompressing the first predetermined portion of the data frame using the first data-based compression algorithm; decompressing the second predetermined portion of the data frame using the second data-based compression algorithm; and decompressing the third predetermined portion of the data frame using the third data-based compression algorithm.
 17. The method according to claim 8 , wherein each private data-based compression algorithm includes associated initial data, the method further comprising the steps of: encrypting the associated initial data of at least one private data-based compression algorithm; and making the encrypted associated initial data publicly available with the data frame.
 18. The method according to claim 17 , further comprising the step of grouping each encrypted associated initial data into a data envelope within the data frame.
 19. The method according to claim 17 , wherein the steps of the method are performed for a plurality of data frames, and wherein the step of making the encrypted associated initial data publicly available includes the step of making each encrypted associated initial data available no later than a first data frame containing media content compressed using the private data-based compression algorithm with which the encrypted initial data is associated.
 20. The method according to claim 19 , further comprising the steps of: receiving the publicly available data frames; decrypting each encrypted associated initial data; decompressing the first predetermined portion of each data frame using the first data-based compression algorithm; and decompressing the second predetermined portion of each data frame using the second data-based compression algorithm.
 21. The method according to claim 17 , wherein the initial data associated with at least one private data-based compression algorithm includes at least one Huffman code-book.
 22. The method according to claim 21 , wherein at least one Huffman code-book represents information that is distinct from the media content that is compressed by the private data-based compression algorithm.
 23. The method according to claim 22 , wherein the information that is distinct from the media content includes watermark data.
 24. The method according to claim 21 , wherein at least one symbol in at least one Huffman code-book represents content that is distinct from the media content that is compressed by the private data-based compression algorithm.
 25. The method according to claim 24 , wherein the content that is distinct from the media content includes watermark data.
 26. The method according to claim 17 , wherein the initial data associated with at least one private data-based compression algorithm includes at least one vector quantization code-book.
 27. The method according to claim 26 , wherein at least one vector quantization code-book represents information that is distinct from the media content that is compressed by the private data-based compression algorithm.
 28. The method according to claim 27 , wherein the information that is distinct from the media content includes watermark data.
 29. The method according to claim 26 , wherein at least one symbol in at least one vector quantization code-book represents content that is distinct from the media content that is compressed by the private data-based compression algorithm.
 30. The method according to claim 29 , wherein the content that is distinct from the media content includes watermark data.
 31. The method according to claim 2 , wherein the media content includes audio content.
 32. The method according to claim 31 , wherein the audio content includes music.
 33. The method according to claim 31 , wherein the audio content includes speech.
 34. The method according to claim 2 , wherein the media content includes images.
 35. The method according to claim 2 , wherein the media content includes video content.
 36. The method according to claim 2 , wherein the media content includes graphics.
 37. The method according to claim 2 , wherein the media content includes textual content.
 38. A method of receiving data, the method comprising the steps of: receiving a publicly available data frame; decompressing a first predetermined portion of the data frame using a first data-based compression algorithm, the first predetermined portion of the data frame representing a first predetermined portion of a media content; and decompressing a second predetermined portion of the data frame using a second data-based compression algorithm, the second predetermined portion of the data frame being different from the first predetermined portion of the data frame, the second predetermined portion of the data frame representing a second predetermined portion of the media content, and the second data-based compression algorithm being different from the first data-based compression algorithm.
 39. The method according to claim 38 , wherein at least one of the first and second data-based compression algorithms is a private data-based compression algorithm.
 40. The method according to claim 39 , wherein one of the first and second data-based compression algorithms is a public data-based compression algorithm.
 41. The method according to claim 40 , wherein the predetermined portion of the media content compressed by public data-based compression algorithm is a null portion of the media content.
 42. The method according to claim 39 , wherein the first and second portions of the data frame are separated by a predetermined header code.
 43. The method according to claim 39 , wherein the first and second portions of the data frame are separated by relative positions of the first and second predetermined portions of compressed media content within the data frame.
 44. The method according to claim 39 , wherein the data frame is received from a computer network.
 45. The method according to claim 39 , wherein the step of receiving the data frame includes the step of receiving the data frame by a memory device.
 46. The method according to claim 45 , wherein the memory device is a CD ROM.
 47. The method according to claim 39 , wherein the steps of the method are performed for a plurality of data frames.
 48. The method according to claim 39 , wherein the data frame includes a third predetermined portion, the third predetermined portion of the data frame being different from the first and second predetermined portions of the data frame, and the third predetermined portion of the data frame representing a third predetermined portion of the media content, the method further comprising the step of decompressing a third predetermined portion of the data frame using a third data-based compression algorithm, and the third data-based compression algorithm being different from the first and the second data-based compression algorithms.
 49. The method according to claim 48 , wherein at least one of the first, second and third data-based compression algorithms is a private data-based compression algorithm.
 50. The method according to claim 39 , wherein each private data-based compression algorithm includes encrypted initial data that is associated with the private data-based compression algorithm, the method further comprising the step of: decrypting each encrypted associated initial data of at least one private data-based compression algorithm.
 51. The method according to claim 50 , wherein the encrypted initial data is contained in the data frame.
 52. The method according to claim 51 , wherein each encrypted associated initial data is grouped into a data envelope within the data frame.
 53. The method according to claim 50 , wherein the initial data associated with at least one private data-based compression algorithm includes at least one Huffman code-book.
 54. The method according to claim 53 , wherein at least one Huffman code-book represents information that is distinct from the media content compressed by the private data-based compression algorithm.
 55. The method according to claim 54 , wherein the information that is distinct from the media content includes watermark data.
 56. The method according to claim 53 , wherein at least one symbol in at least one Huffman code-book represents content that is distinct from the media content compressed by the private data-based compression algorithm.
 57. The method according to claim 56 , wherein the content that is distinct from the media content includes watermark data.
 58. The method according to claim 50 , wherein the initial data associated with at least one private data-based compression algorithm includes at least one vector quantization code-book.
 59. The method according to claim 58 , wherein at least one vector quantization code-book represents information that is distinct from the media content compressed by the private data-based compression algorithm.
 60. The method according to claim 59 , wherein the information that is distinct from the media content includes watermark data.
 61. The method according to claim 58 , wherein at least one symbol in at least one vector quantization code-book represents content that is distinct from the media content compressed by the private data-based compression algorithm.
 62. The method according to claim 61 , wherein the content that is distinct from the media content includes watermark data.
 63. The method according to claim 39 , wherein the media content includes audio content.
 64. The method according to claim 63 , wherein the audio content includes music.
 65. The method according to claim 63 , wherein the audio content includes speech.
 66. The method according to claim 39 , wherein the media content includes images.
 67. The method according to claim 39 , wherein the media content includes video content.
 68. The method according to claim 39 , wherein the media content includes graphics.
 69. The method according to claim 39 , wherein the media content includes textual content. 